package com.example.mytest.annotation1;

import lombok.Data;

/**
 * @ClassName: User
 * @Description: TODO
 * @Author: 230689
 * @Date: 2021/9/3 15:58
 * @Version: v1.0
 */
@Data
public class User {
    /**
     * 姓名
     * */
    @Check(paramValues = {"胡勇"})
    private String name;

    /**
     * 性别 man or women
     * */
    @Check(paramValues = {"man", "woman"})
    private String sex;
}
